<template>
  <div class="div-form-style">
    <DivForm resetBtnText="重置" v-model="formData" @select="select" />
  </div>
</template>
<script>
export default {
    name:'divForm',
    data(){
        return {
            formData: {
				config: {
					labelCol: 4,
					wrapperCol: 20,
					layout: "horizontal",
					labelAlign: "right",
					colon: false,
				},
				list: [],
			},
        }
    },
    watch:{
        formData:{
            handler(data){
                console.log(data)
            },
            deep:true
        }
    },
    methods:{
        select(data){
            console.log(data)
        }
    }
}
</script>
<style lang="less" scoped>
.div-form-style {
  height: 100%;
}
</style>